package ooday02;

public class Teacher extends Student {
    double salary;

    Teacher(String name, int age, String address, String calssName, String stuId,double salary) {
        super(name, age, address, calssName, stuId);
        this.salary=salary;
    }


    void teach(){
        System.out.println(name+"正在教学");
    }
}
